package com.example.mallproduct.fegin;

import com.common.utils.R;
import com.es.vo.SkuESModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author guanglin.ma
 * @date 2023-12-17 19:59
 */
@FeignClient("mall-es")
public interface EsFeginService {

    @PostMapping("/search/save/product")
    R upProduct(@RequestBody List<SkuESModel> skuESModelList);
}
